﻿'**************************************************************
'CATECO_UDF_001.0  catia / ecotect interoperability
'ben howes, matt naugle, alex gonzales - 05.09.11
'
'This work is licensed under the GNU Generic Public License v3.
'See http://www.gnu.org/licenses/gpl.html For more license information.
'
'
'Creates a link between catia And ecotect Using catia's exposed COM objects 
'And ecotect's dde server.  Props to the proving ground (and uto) for the dde trick.
'
'
'**************************************************************


Imports Microsoft.VisualBasic.ApplicationServices

Namespace My
	' This file controls the behaviour of the application.
	Partial Class MyApplication
		Public Sub New()
			MyBase.New(AuthenticationMode.Windows)
			Me.IsSingleInstance = False
			Me.EnableVisualStyles = True
			Me.SaveMySettingsOnExit = False ' MySettings are not supported in SharpDevelop.
			Me.ShutDownStyle = ShutdownMode.AfterMainFormCloses
		End Sub
		
		Protected Overrides Sub OnCreateMainForm()
			Me.MainForm = My.Forms.MainForm
		End Sub
	End Class
End Namespace
